Moved newpost url and added link to newpost if logged in