Fixed wrong call Login() and Register() + some small fix

adds 2 assert, delete qDebug() << Q_FUNC_INFO;, fixed wrong call Login() and Register()