Added working login/signup functionality.