Fixed logout for baseline
Fixed login redirect
Fixed header
Added JavaScript for Ajax login
Fixed Ajax login error handling.