Use db and email config as instance vars instead of mappings
Added api users/verify method