User registration/login

TODO: log user in immediately after registration