fixed coffee popup login problem