sign on screen + refactor chat