make local login and registration using derby-auth