1.fix bug login with email;2.add loggedin param for favoritelist