Solved login issue. Changed file directory

include和api都移到根目录了, 以后都refer这里。原来的signin_api改成了signin_functions,
免得confuse. 然后要用$SERVER[‘DOCUMENT_ROOT']来求路径