added util, login in user model