Hi,
I have the following code but my controller function is not being called for users who don't have a role of "Admin". Can anyone explain where I am going wrong?
To clarify, for users where they are in the role "Admin" it works fine, for all others the controller function is not called.
Link to code: http://www.pastebin.com/Rd5RQcrV