edit feature added, bug found at delete and fixed (for login only)