Hi @Dominic B thank you. I have done this but it automatically loads even if a user is not logged in. Im now trying to figure out how to stop that - using nlapiGetLogin() ? do you know if thats the best way? The best option would be to use the login page already there and once the user is logged in, only then go to the homepage