user info stored properly in cookie
creates chat controller and associated view in angular. deletes old chat.js file