Fixed a redirection loop in User App