edited to fix #11 username edit bug