Added database logic for images and profiles, abstracted the profile card and added slide-down animation for the search box