fix back button of register page and toast in login page
Merge pull request #60 from COMP231-S63G1/updateForIteration1

fix back button of register page and toast in login page