1. A method comprising: authenticating a user; in response to authenticating the user, accessing a user interface (UI) code, the UI code to generate a UI page, the UI page including instructions to generate a graphical user interface (GUI) for the user, the UI code including a security relevant portion of the UI code to generate a security relevant UI page element, the security relevant UI page element including instructions to generate a security relevant GUI element related to an application; and in response to accessing the UI code, executing the UI code to generate the UI page, the executing the UI code including executing a first portion of the UI code to include a UI page element in the UI page, wherein the executing the first portion of the UI code is independent of whether or not the user has an authorization to access the application, the executing the UI code further including determining whether the user has the authorization to access the application, the determining based on a security policy and user role information, the executing the UI code further including performing one of with a processor of a computing device, executing the security relevant portion of the UI code to include the security relevant UI page element in the UI page, the executing the security relevant portion of the UI code in response to determining that the user has the authorization to access the application, and preventing executing the security relevant portion of the UI code to prevent an including of the security relevant UI page element in the UI page, the preventing executing the security relevant portion of the UI code in response to determining that the user does not have the authorization to access the application.