chat app server-side corrected; pagination corrected; more views and controllers setup