use index template as home page and user profile