adding changes for save and update user and hooking ui