Changed login redirection for admin: to pending if any, else to users.