adds text to main index. Adds user email get/sets and user email to profile