Divided login page into two scopes