Added the threadview controller function skeleton to show a particular thread, Also fixed a bug in the login controller