first implementation of signup and login with email/password