Developed a new way to utilize an "url params" to redirect the user to the previous page after a login.
fixes #814