Initial implementation of sign-up and sign-in.