Form is now functioning properly and prevents submissions if user is not signed in