rails application with devise fully functioning