function login and logout

update autoload.php to activate library CI
add encryption key in config.php to use the session

view login_success.php is for checking the session