tested user login and added login links to navbar