Config devise functionality in views