fixed login message and removed doubled output