added login/signup functionality