made user object and controller