login

add login method to user class