adding questions form on index page when user is logged in