Created ajax view for getting rank