Implementation of backbone authentication using nodejs