deleted some useless moves
changed getUsername to getName