modifed gem file and created user edit page