<template>

    <div class="contact-page">
        <p>Loading</p>
    </div>
</template>

<script>
    import router from '../router'
    export default {
        name: 'Intermediate',
        data() {
            var userdata = localStorage.getItem('spotlight_usertoken')
            var userid = localStorage.getItem('spotlight_id')
            if(userdata){
                router.push({ name: 'Profile',
                            params: {
                              id: userid,
                            }, });
            }
            return {
                msg: 'Welcome to Your Vue.js App'
            }
        },
    }
</script>
