Implemented better logout support
Added auto loading for class files
Build script updates
Improved login/logout redirects