Login.js updated by me for Lab 2- 273