Improved user sign up, email still missing. Also added js variable BASE_URL which is the same as the CI function base_url();, useful for when creating links in js.