Fixed the menus in views gallery and home. And added some error checking for users trying to register with blank usernames or blank passwords.