added login and user class