Fix error when guests tries to access the admin dashboard