Use promise to resolve whether password is correct or not.
Use cookie to save first name of logged in user.
Create user works very basically.