add classes & login backend