Create users helper, add index to user email