Update: I have managed to implement the above, with the login working, I can get the login to go to a custom landing page, however if I change the landing page to /index.php?function=show_static_page&id_static_page=1, it redirects to the dadabik login page, is this the way it should be or does this mean my custom login is not working properly?