public threads

Introducing public threads, that all users can see! (You can also create
a public thread) Noticed, that thread.php is not checking if user should
get access.
fixed access check

thread.php now checks before showing stuff to user