fixed missing login that was created when a removed() the firstChild of menu. Now only removes first child if it has a span in it.