improved login controller
added stuff for jitsu