some minor error in User controller