Fixed verify and addUser functions for new DB