fix login message and fix route bug