Adding users details functionality