move js files to bottom in partial
add user helpers
add index to user's email in  migration