change login redirect to post