Cleans up flash messages and moves login control to navbar