Verify user before trying to run the method.

If the user has the page loaded but the system does not have a user
instance, gives error writing to the database as unknown. Now verified
that the user is set before.
Wrapped logo link in div

Was causing breaks to new line before.