Finally got the message module working
Changed the layout of navbar for logged in users