Invalid Login and Input Popup Fix

- Invalid login gives an error
- Popup for Input looks different for each type of input
- Refactoring of files