Services now mixed into services as traits.
Fix login controller to handle json form submit.