Added authorization checks/redirections