server part of swipe app