Flash messages and update profile erb
Updated user controller function and profile view