This is not needed anymore, it was used previously in my worng way of mocking the Log in  functionality