Update db_functions.php

The function accountEmailExists() does not exist.
That's why registering resulted in an error.
I think function isUserExisted() should have been used, with a ! before it.
Merge pull request #1 from darwusch/patch-1

Fixed usage of improper function in db_functions.php