CF4,5 Fix- Refactors the code. Fixes the redirect url for successful login.
https://vinsol.atlassian.net/browse/CF-4
https://vinsol.atlassian.net/browse/CF-5