Add ajax post actions to login and sign up