added redirect logic in oauth controller for new users