Overriding the bloody plugin login function