Added user edit functionality