Added user verification to ensure user is signed in beforeallowing them to create new objects in the database. They should still be allowed to view pages without signing in.