added user class
edited login