Added code for name input and changed movement