Adding application controller fix for login