Login Redirection Fix

- Fixes Issue #218
- Logic is that it sets the previous path when leaving a route which can then be referenced by the sign-in page