Implemented swipe base functionality, ajax token and swipe methods ready to be tested with backend