#245 Refactor warning for an invalid username/password
- include JS file to only login/signup pages
- combine the username/password error together