Edited user controller for avatar