after Login mainpage shows logged in user