local db + login api + activity and ticket model