Added checkPassword function to dbManager which returns true if the username and password match
Merge origin/master