Clear username at logout.
Style fixes.
Fixed showing of error.
Added storing of userId during authentication.
Added links to dashboard.