fix login and starting callback