Login stuff

Register and login user now are functional