working chat and login/signup