Creates global user authroization and fixes :check_if_manager