update users controller
fixed bug occured from users/register, users/activate