refactor backoffice base view
add user_type to global var for backoffice