Fixed refreshing page logging you out.
Logging in as admin will now redirect you to the backoffice.