edit details functionality added for user