checking out
passing matchPassword function to john to work on