Modified the weed deletion and resolved login problem with special characters