added user class and login