removed unnecessary resolve from /authorize route