Preparing user login layer for ajax ui.