Profile:: Removing html code from the controller

Transferring html code and design elements in views
Added views for displaying alerts.