Login class

Created login class that connects to the chessgames database and checks
whether a user entered a valid username/password.