Use the CI to realize the login part

config the autoload.php and make the url helper autoload