changed User model and register/login processes