worked out what I was doing wrong, I had my frontend application is_secure set to true, thus when trying to access the plugin modules I was redirected to the login form, and when I logged in the module code redirected me to the homepage, very trivial but cost me a few hours!!