Only render link to profile when logged in
Remove obsolete ejs config
Render links when logged in