basic local login/signup functionality