added slugs to users and categories; refactored slugs to a module; fixed formatting of user search results and search form