To create a chat, necessary firebase components :
User url location is used to monitor online-offline status of users
var userListRef = new Firebase('https://testsatu.firebaseio.com/users');
archiving will be handled in server, so no push to offline necessary. This will make client more light.
NOTE always set ts to current time when you push or set the data.
##Chat Apps with Firebase :
To create a chat, necessary firebase components :