Changed Login controller action to use query and command classes