use remote database for login but password internal