Added remote database connectivity to login