change GET to POST while login