create user, login user, pw encryption, cookies