Added a loginForm but navigation isn't working.