I am developing a simple ecommerce kind of website where only some actions require authentication, like in case of writing reviews for products.
For example when review is clicked login page is loaded as single page app but when logged in with UsernamePasswordProvider/Facebook with the login page from secure social the full page is loading.
Is there a simple way to make it as single page app than to fork securesocial and myself modifying all the calls as ajax/single page app calls.