Fixes #331 and the link in the navbar message 'Logged in as USERNAME'

Also fixed the user_name link in the navbar when logged in (Logged in as 'USERNAME'). The link now points to the proper Member Profile page.