Users can now logout. Fixed link to login page on logout page. Also, fixed SITE_URL in config.php to return the correct url.