add devise test and configure devise