small bug fixes, check if logged_in_user in post.html