cleaning up profile page code, flash notifications
again