Made changes to BaseModel.
Created a view for the login with email and password.