refactored user main page and controller
refactored some things. still need to look into flash merge, and how to shorten my update attributes