js for getting current user email semi working. Going to delete