Ultimate Membership plugin logout issue

I installed Ultimate Members on my site to embed login/registration forms on the site. Everything is working fine, but the logout action is not. It is redirecting to another page.