fixed unused methods in usermodel and controller