Added Ajax support for login pages.

Added function to load
load(page to be loaded)