Form based login, angular, rest