Methods class creation + login trough server