add some login user methods into user class