flag attribute added for User model
view page detail fixed