user can add restaurant only when signed in, refactored tests