Added email validator gem but not working quite as expected