progress with login/registration. still not fully functional