before using devise