require users to be signed in to perform certain functions