change logon action to ajax + action