Searchable database with user authentication using devise