Fix export class User and delete duplicated methods