Update api_base using hostname mapping
add signin and signup page