tried to implement the lazy login feature, did not work tough