added backend for search and registration