Begin of checkLogin
Forget files
IMPROVE: Improve database model classes