changed checkPassword to hopefully prevent server errors