Rails application using bootstrap for ui, device for autentication