fixed logged in bug for document show and styled index page a bit