Code - refractor changes

- Login page flow
- Restore page flow

Pending
- Change password flow
deleted

newcustom.js