i18n

- Added language file paths.
- Added HTTP response codes to redirection function.
- Created basic i18n language functionality.
- Fixed bug where user couldn't logout.