added remove user, search functions, save to database