Added User model. Implemented user identity class and login functionality