Login and profiles.

Got the home page only to show login and register when logged out, and
everything else when logged in. profile link now goes straight to the
profile of the person logged in.