modified navbar slightly, fixed an error message for result creation