now does not add req param if user was on home page
isAuthenticated doesn't add

Now middleware doesn’t add redirect param if original url is home page
Or the request is post.