Exception in login controller changed