Solution with dummy login