add redirect function
add errors as an attr to base_controller
remove secure check (already handled by boot.php)
make extra vars available to view files
get images in index controller, add auth controller
add errors to header
add image list and login form to home
reomve image.php from public
remove send_404 function
call _remap method if it exists
get args from global space, add segments