refactored image logic in views to partials
working on geting edit profiles working