Moved profile form out of view into controller
Phased out DOMAIN & adjusted messages() calls