Login database connection

Database connectivity and login process complete.