User authentication.

Basic user login and logout done.
Link for logged in users only.

Link are hidden for unauthorized users. Only shown after logging
in.