Added some options with some bugfixes

Added options to options.php and changed the default publicuser to id 1,
not 0.