Logout view now refactored out of the login view.

Fixed register then see username bug.