fix login issue. All requests are catched now.