add exception and userscontroller