real time rails chat application with message management and with user and admin login