Drop @prodifile variable in the profile edit view
Refactor ProfileController