fix bug with displaying job post without logging in