Fix problems with devise buttons