fixed create user post to the api dir. fixed checkbox for main.js