[login+quotations] Fixed logic