Added security exception for login, backbone code for login modal, ajax request for login.