title: Cakephp two databases from two different locations/domains
body: <p>I've my application running on one server.
  Login functionality will be for users from another database hosted on another server.
  Is there any way to connect that database, check login and after login success/failure, return to my application?</p>