Login feature complete

Connection file and login feature added. Successful detection of a user
in the database. Register function to come next.