Added logging in posts app
Added nav bar