Database Connection Implemented

UserName and Password validators added to the database controller.