added proper handling of home page and some more access control