Handling redirects

* Changing response status to 200 on success of logout
* Handling redirects on UI